# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=virtme-ng
pkgver=1.31
pkgrel=0
pkgdesc="tool that allows to easily and quickly recompile and test a Linux kernel"
url="https://github.com/arighi/virtme-ng"
arch="all"
license="GPL-2-or-later"
depends="qemu python3"
makedepends="py3-setuptools py3-argcomplete"
options="!check" # no tests
subpackages="$pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/arighi/virtme-ng/archive/refs/tags/v$pkgver.tar.gz"

package() {
	python setup.py install --root="$pkgdir/" --optimize=1
}

sha512sums="
4fffd2234a4f3e7aeff2ec2847bddfa72cf74667cd763d2f5efb1147a129f60cd92270d5854c349228eaf4290a48fc4180b1f0f72b1c2f65e9d9e956960539b6  virtme-ng-1.31.tar.gz
"
